package com.eastjet.maintenance.feign;

import org.springframework.cloud.openfeign.FeignClient;
import com.ruoyi.system.api.domain.SysDictData;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 获取字典数据
 */
@FeignClient(name = "eastjet-maintenance", url = "http://localhost:9201")
public interface DictDataFeign {
    @RequestMapping("/dict/type/codeType")
    List<SysDictData> getDictData(@RequestParam("code") String dictType);
}



